package com.shu.bean;

import lombok.Data;
import lombok.ToString;

/**
 * @author ssm
 * @version V1.0
 * @description:
 * @date 2019/9/29 16:59
 */

@Data
@ToString
public class User {
    static {
        int y =  3;
        System.out.println(y);
    }

    static int c;
    private String name;
    private Integer age;
    private String sex;


    public User() {
        System.out.println("1111");
    }

    public User(String name, Integer age, String sex) {
        this.name = name;
        this.age = age;
        this.sex = sex;
    }

    {
        c = 000;
        System.out.println("//////////" + c);
    }



    public static void main(String[] args) {
//        User user = new User("11", 123, "m");
//        System.out.println(user);

        System.out.println("=------");
    }
}
